package com.wangjiang.service.impl;

import com.wangjiang.mapper.LogMapper;
import com.wangjiang.model.LogModel;
import com.wangjiang.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "logService")
public class LogServiceImpl implements LogService {
    @Autowired
    private LogMapper logMapper;

    @Override
    public LogModel findLogById(int id) {
        return logMapper.selectLogById(id);
    }
}
